package com.xinqi.modules.stats.score.service;

import com.xinqi.common.mybatis.data.service.BaseService;
import com.xinqi.modules.stats.score.domain.CourseTotalScoreOfflineConfigEntity;
import com.xinqi.modules.stats.score.dto.req.*;
import com.xinqi.modules.stats.score.dto.rsp.CourseTotalScoreOfflineConfigResultDTO;

import java.util.List;


/**
 * 线下成绩等级分值设置表服务层
 *
 * @author: system
 * @date: 2023/03/26
 */
public interface CourseTotalScoreOfflineConfigService extends BaseService<CourseTotalScoreOfflineConfigEntity> {

    /** 初始化课程栏目等级分制配置 */
    List<CourseTotalScoreOfflineConfigResultDTO> initCourseTotalScoreOfflineConfig(CourseTotalScoreOfflineConfigQueryDTO dto);

    /** 查询课程栏目等级分制 */
    List<CourseTotalScoreOfflineConfigResultDTO> findCourseTotalScoreOfflineConfig(CourseTotalScoreOfflineConfigQueryDTO dto);

    /** 设置课程栏目等级分制 */
    boolean setCourseTotalScoreOfflineConfig(CourseTotalScoreOfflineConfigSetDTO dto);

}
